﻿namespace Jodell.Lua
{
    public class Lua_ErrorCode
    {
        /// <summary>
        /// 正确
        /// </summary>
        public const int Lua_OK = 0;
        /// <summary>
        /// 未连接
        /// </summary>
        public const int Lua_Error_NotConnect = -1;
        /// <summary>
        /// 超时
        /// </summary>
        public const int Lua_Error_TimeOut = -2;
        /// <summary>
        /// 升级 设备类型比对不一致
        /// </summary>
        public const int Lua_Error_DeviceTypeNotEqual = 3;
        /// <summary>
        /// 切换500寄存器失败
        /// </summary>
        public const int Lua_Error_Change500 = 4;
        /// <summary>
        /// 切换501寄存器失败
        /// </summary>
        public const int Lua_Error_Change501 = 5;
    
    }
}
